Example: Wave Generator

This operation generates a dataset with values that can take the shape of four different types of waves - Sine, Square, Triangle and Saw waves. There can be more than one wave of the same type, or a combination of different types of waves. Each wave represents a generated field.

In these examples, the configuration of each type of wave is given, and then the trend view for each field is illustrated. To see the trend view, highlight the created dataset, and select the [Trend View] icon from the toolbar ribbon. Click the [Configure] button below the graph to determine how many and which fields you want to see on the same graph, and to customize the graphs.

Example 1: Wave generator - index based

Configuration:

Wave types: check all:

    • Sine

    • Square

    • Triangle

    • Saw

Number of rows:

    • Index based

    • Rows = 10

Wave properties:

    • Sine wave configuration:

      • Field name: SineWave

      • Amplitude: 8

      • Period: 5

    • Square wave configuration:

      • Field name: SquareWave

      • Amplitude: 6

      • Period: 4

    • Triangle wave configuration:

      • Field name: TriangleWave

      • Amplitude: 5

      • Period: 3

    • Saw wave configuration:

      • Field name: SawWave

      • Amplitude: 3

      • Period: 2

Resulting dataset:

Trend views: Configured to show all fields on one graph

Example 2: Wave generator - time based

Configuration:

Wave types: check all:

    • Sine

    • Square

    • Triangle

    • Saw

Number of rows:

    • Time based

    • Duration + End = 0 0:10:00

    • Sampling period: 60

    • (Number of Rows: 11 - automatically calculated)

Wave properties:

    • Sine wave configuration:

      • Field name: SineWave

      • Amplitude: 8

      • Period: 0 0:03:00

    • Square wave configuration:

      • Field name: SquareWave

      • Amplitude: 6

      • Period: 0 0:02:00

    • Triangle wave configuration:

      • Field name: TriangleWave

      • Amplitude: 5

      • Period: 0 0:02:00

    • Saw wave configuration:

      • Field name: SawWave

      • Amplitude: 3

      • Period: 0 0:02:00

Resulting dataset:

Trend views: Configured to show all fields on one graph


Related topics:

  

CSense 2023- Last updated: June 24,2025